/* 套餐配置管理样式 */
.package-config {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.package-config-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.package-config-actions {
    display: flex;
    gap: 12px;
}

/* 批量操作工具栏 */
.batch-toolbar {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.batch-toolbar-info {
    font-size: 14px;
    color: #4b5563;
}

.batch-toolbar-actions button {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.batch-toolbar-actions button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* 套餐列表样式 */
.package-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.package-list-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.package-list-content {
    min-height: 400px;
    padding: 16px;
}

/* 套餐卡片样式 */
.package-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.package-card:last-child {
    margin-bottom: 0;
}

.package-card.dragging {
    opacity: 0.5;
    cursor: move;
}

.package-select {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.package-card-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.package-card-info {
    flex: 1;
    min-width: 0;
}

.package-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.package-card-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.package-card-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.package-item {
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 16px;
    font-size: 13px;
    color: #4b5563;
}

.allergen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.allergen-tag {
    padding: 4px 12px;
    background: #fee2e2;
    border-radius: 16px;
    font-size: 13px;
    color: #991b1b;
}

.package-card-price {
    font-size: 20px;
    color: #ef4444;
    font-weight: 600;
}

.package-card-actions {
    display: flex;
    gap: 12px;
}

.package-card-actions button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn {
    background: #3b82f6;
    color: white;
    border: none;
}

.edit-btn:hover {
    background: #2563eb;
}

.delete-btn {
    background: white;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.delete-btn:hover {
    background: #fee2e2;
}